SDK/J Authentication Package ver1.0
RICOH Confidential

jp.co.ricoh.dsdk.scard.option.file
Class FileID

java.lang.Object
  extended byjp.co.ricoh.dsdk.scard.option.file.FileID

public class FileID
extends java.lang.Object

The file identifier. This does not contain the path of the parent directory.


Field Summary
protected  byte[] id
           the file ID.
 
Constructor Summary
FileID(byte[] id)
           Constructs a FileID object from a byte array.
FileID(int id)
           Constructs a FileID object from an int value.
FileID(short id)
           Constructs a FileID object from a short value.
FileID(java.lang.String id)
           Constructs a FileID object from a hexadecimal string.
 
Method Summary
protected  java.lang.Object clone()
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 byte[] toBytes()
           Returns the FileID as a byte array.
 java.lang.String toString()
           Returns the FileID as a hexadecimal string.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected byte[] id
the file ID.

Constructor Detail

FileID

public FileID(byte[] id)
Constructs a FileID object from a byte array.

Parameters:
id - the FileID as a byte array.

FileID

public FileID(short id)
Constructs a FileID object from a short value.

Parameters:
id - the FileID as a short value.

FileID

public FileID(int id)
Constructs a FileID object from an int value.

Parameters:
id - the FileID as an int value.

FileID

public FileID(java.lang.String id)
Constructs a FileID object from a hexadecimal string.

Parameters:
id - the FileID as a hexadecimal string (ex. F356BC44).
Method Detail

toBytes

public byte[] toBytes()
Returns the FileID as a byte array.

Returns:
the FileID as a byte array.

clone

protected java.lang.Object clone()
                          throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

toString

public java.lang.String toString()
Returns the FileID as a hexadecimal string.

Returns:
the FileID as a hexadecimal string.

SDK/J Authentication Package ver1.0
RICOH Confidential